package com.ymatou.iapi.productimporter.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;

public class ExecuteCall extends YmatouBaseCall {
    private static String opurl ="task/manualExecute";

    public ExecuteCall() {
        super(EnvSetup.getSystemUrl("productimporter_iapi"),opurl,"POST","JSON");
    }

    @Override
    public void addDefHeader() {
        client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
        client.addHeader("Content-Type", "application/json; charset=UTF-8");
    }
}
